package com.zhangquancheng.shirodemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhangquancheng.shirodemo.entity.TbRolePermission;
import com.zhangquancheng.shirodemo.entity.TbUserRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface TbRolePermissionMapper extends BaseMapper<TbRolePermission> {
    int deleteByPrimaryKey(Long id);

    int insert(TbRolePermission record);

    int insertSelective(TbRolePermission record);

    TbRolePermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbRolePermission record);

    int updateByPrimaryKey(TbRolePermission record);
}